$OpenBSD: patch-server_gkrellmd_h,v 1.9 2011/03/02 06:59:55 ajacoutot Exp $
--- server/gkrellmd.h.orig	Tue Sep 14 18:34:34 2010
+++ server/gkrellmd.h	Mon Feb 14 07:46:00 2011
@@ -127,12 +127,12 @@ GKRELLMD_VERSION_REV >= (rev)))
 
 #define GKRELLMD_PLUGINS_DIR		".gkrellm2/plugins-gkrellmd"
 #if !defined(WIN32)
-	#define GKRELLMD_LOCAL_PLUGINS_DIR	"/usr/local/lib/gkrellm2/plugins-gkrellmd"
+	#define GKRELLMD_LOCAL_PLUGINS_DIR	"${PREFIX}/lib/gkrellm2/plugins-gkrellmd"
 	#if !defined(GKRELLMD_SYSTEM_PLUGINS_DIR)
-		#define GKRELLMD_SYSTEM_PLUGINS_DIR	"/usr/lib/gkrellm2/plugins-gkrellmd"
+		#define GKRELLMD_SYSTEM_PLUGINS_DIR	"${PREFIX}/lib/gkrellm2/plugins-gkrellmd"
 	#endif
-	#define GKRELLMD_SYS_ETC	"/etc"
-	#define GKRELLMD_LOCAL_ETC	"/usr/local/etc"
+	#define GKRELLMD_SYS_ETC	"${SYSCONFDIR}"
+	#define GKRELLMD_LOCAL_ETC	"${SYSCONFDIR}"
 #endif // !defined(WIN32)
 
 
